home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr54 / lg102.zip / READ.ME < prev    next >
Text File  |  1993-06-03  |  12KB  |  228 lines

  1.  
  2. Date: 11-14-90
  3. Time: 4:15 pm
  4.  
  5. from the desk of Lonnie J. Rolland
  6.  
  7. From the folks who brought you Logger3, that pop up and non pop up
  8. information collector, comes LoggerG where the 'G' stands for generic.
  9. We went and did something nice. We called up some folks who were pleased
  10. with the idea of Logger and were trying it out. We asked them, if the
  11. logger could do something different, what would you have it do. This
  12. question caught them off guard. But they recovered quick enough.
  13. Then they came back with answers like:
  14.  
  15.  "The names on the fields don't quite fit what I had in mind. But I'm
  16.   going to try to use it anyway."
  17.  
  18. Well don't settle for something that 'kind of' fits your needs.
  19. Get the new improved LoggerG where the labels on the fields are what
  20. 'you' want them to be.
  21.  
  22. ( Well, I think I've been watching too much late night tv.)
  23.  
  24.  
  25. LG (a.k.a. LoggerG or logger generic) has a ascii text file which is
  26. read when the executable is ran. The contents of the small text file
  27. configures the field names. There are twenty fields in the upper part
  28. of the record. Fifteen of the twenty field descriptions are under your
  29. control. The top line you can't mess with. The labels on the next 8 lines
  30. you can change. The top line has the start date/time, stop date/time
  31. and the cumulative elapsed time. The labels on the next lines typically
  32. ask for name, address and phone number stuff. You can choose the field
  33. names that will appear there. But the names you choose do have a word
  34. length constraint. The working example supplied with LG / LGNP might
  35. suit your particular needs. Here it is below:
  36.  
  37.  
  38. |-------  ------------ MY NICE LITTLE LOGGER ver 1.02 -------------------------|
  39. | Start: ../../..  /  ..:..  Stop: ../../..  /  ..:..  ET: ..:..   Time: ..:.. |
  40. | File No: ..........  File Desc: ...............................  By: ....... |
  41. | Contact: ................................................................... |
  42. | Company: ................................................................... |
  43. | Address: ................................................................... |
  44. | City: ..................  State: ..........  Country: ......  Zip: ......... |
  45. | Work Ph: ................  Home Ph: ...............  Fax Ph: ............... |
  46. | Action: .................................................................... |
  47. | Resolution: ................................................................ |
  48. |---------------------------< MEMO FIELD >-------------------------------------|
  49.  
  50.  
  51. The top line in the ascii text file is attached to the top of the log.
  52. Put your company or work group name there. The second line in the text
  53. file currently has 'File No: ', which is a nine character string. The
  54. number nine is important. You can put in any nine ( or less ) character
  55. string you wish in its place. If you supply it with a string which is
  56. bigger, it'll only use the first nine characters. Now lets break away
  57. from these details and back up a moment.
  58.  
  59.  
  60. LoggerG is fully functional, non-crippled information logging program.
  61.  
  62. It uses a DBase III+ compatable .dbf and .dbt
  63.  
  64. *********************************************************************
  65. ***                    ATTENTION USERS                            ***
  66. *** LG can run on a network with full record/file locking,        ***
  67. *** therefore when you do so you MUST run dos's SHARE program     ***
  68. *** first before the logger or it'll keep popping up error        ***
  69. *** messages at you and not save your input.                      ***
  70. ***                                                               ***
  71. *** The locking is done with netbios calls. Therefore you have    ***
  72. *** to be running DOS version 3.1 or later.                       ***
  73. ***                                                               ***
  74. *** It'll still work fine if you don't have a network too.        ***
  75. ***                                                               ***
  76. *** By default logger doesn't need share and will not do locking. ***
  77. *** You turn that mode of operation 'ON' with the one and only    ***
  78. *** command line switch logger uses, '/n'.                        ***
  79. ***                                                               ***
  80. *** You MUST have an environment variable called 'netdrive'.      ***
  81. *** The variable tells logger what drive/sub-directory the data   ***
  82. *** will be sitting on.                                           ***
  83. *** An example would be 'set netdrive=C:\your-subdir\'.           ***
  84. *********************************************************************
  85.  
  86.  
  87. Install and remove the program from your hard disk with the batch
  88. files MAKE_LG and REMO_LG.
  89.  
  90. To use the program, envoke it with the batch file called LOGGER. It will
  91. change directory, setup some environment variables, and then envoke logger.
  92. Logger now auto-detects whether its running on a mono or color system.
  93.  
  94. The logger program, when envoked, needs about 114k bytes of ram.
  95. The file 'LG.EXE' is the tsr version of the program. It's a nice, small
  96. 6K byte pop up tsr that uses swapping technology. The hot key to pop it
  97. up is "CTRL" + "ALT" + "A". Note you have to hold all 3 keys down at the
  98. same time. The file 'LGNP2.EXE' is the non resident ( pass through )
  99. version of the program. Both programs look and function exactly alike.
  100. The file 'L3GBLK.ZIP' is a set of empty .dbf/.dbt files. The file
  101. 'L3GABC.ZIP' is a set of test data .dbf/.dbt's files.
  102.  
  103. Logger does NOT have a delete function. I left that function out on
  104. purpose. Call me up and complain. I can be pursuaded. Delete and pack
  105. the .dbf and .dbt files offline with dbase.
  106.  
  107. A note about 'Orphaned Memos'.
  108. They will happen within the .dbt file when you: 1) delete and pack out
  109. the .dbf that points to the memo, 2) edit an existing memo and make it grow
  110. larger in size than it originally was (512 to 1024, 1024 to 1536...etc).
  111.  
  112. The structure for L3G.DBF is:
  113. Field  Field Name  Type       Width    Dec
  114.     1  FN01        Character     10           { file no.   /9}
  115.     2  FN02        Character     31           { file desc  /11}
  116.     3  FN03        Character     67           { contact    /9}
  117.     4  FN04        Character     67           { company    /9}
  118.     5  FN05        Character     67           { address    /9}
  119.     6  FN06        Character     18           { city       /6}
  120.     7  FN07        Character     10           { state      /7}
  121.     8  FN08        Character      6           { country    /9}
  122.     9  FN09        Character      9           { zip        /5}
  123.    10  FN10        Character     16           { work ph    /9}
  124.    11  FN11        Character     15           { home ph    /9}
  125.    12  FN12        Character     15           { fax ph     /8}
  126.    13  FN13        Character     68           { action     /8}
  127.    14  FN14        Character     64           { resolution /12}
  128.    15  FN15        Character      7           { by         /4}
  129.    16  STARTDATE   Character      8
  130.    17  STARTTIME   Character      5
  131.    18  STOPDATE    Character      8
  132.    19  STOPTIME    Character      5
  133.    20  ELAPSETIME  Character      5
  134.    21  MEMOFLD     Memo          10
  135. ** Total **                     512
  136.  
  137. Logger has got timer, find, browse and does date/time stamping.
  138. Logger will now also send the currently displayed record to the
  139. printer too. If you are within the find or browse function, you
  140. press the (O) key to send the record information out to the printer.
  141. If you are within the edit function, (and not in the memo pad area)
  142. you press the (ctrl-O) key instead.
  143.  
  144. The timer (T) command starts an entry. The find (F) command is nice.
  145. It works on the first four fields of the record. Which for our example
  146. would be: 1) file no. 2) file desc 3) contact and 4) company.
  147. The search order is from the last record to the first record. It will
  148. find embedded strings anywhere within the target string and is case
  149. insensitive. The browse (B) command uses the keypad keys. It uses the
  150. up, down, PgUp, PgDn, home, and end key. Browse will remember where
  151. you were browsing at last. You may start the timer then escape out of
  152. the entry to do a browse or find (or go to dos for the tsr version) and
  153. then return back to your started timer entry. If you elect to edit a
  154. record from the find or browse mode, you do so by pressing 'enter' to
  155. select a record. When you have finish your editting, logger will ask
  156. you if you want to (maintainence mode) re-write the record back to
  157. where it came from OR (add mode) append the record as a new one to
  158. the end of the DBF.
  159.  
  160. The memo pad portion saves only what it needs to save, from a 512
  161. byte minimum, to a 4096 byte maximum size. The full screen editor
  162. understands wordstar style key strokes and it does automatic
  163. word-wrap at end of lines also!
  164.  
  165.  
  166. Logger was written by me with toolboxes from Max Software Consultants
  167. at 301/828-5935 for handling the dbase structures and Turbo Power at
  168. 408/438-8608 for tsr/swapping/string/memo handling.
  169.  
  170. Logger does take advantage of two environment variables called:
  171. 1) NETNAME and 2) NETDRIVE. The netname variable gets plugged auto-
  172. matically into the originator (BY:) field. The netdrive variable tells
  173. logger the disk drive and subdirectory where your data files are sitting.
  174. Please note you DO need to use the two environment variables. They
  175. are there to make your life (and my life) easier.
  176.  
  177. At where I work, we run Artisoft's Lantastic AI Netbios/NOS on Western
  178. Digital ethernet cards. We have our data sitting on the server in
  179. 'K:\LOGGER3\L3G.DBF'. I have my neton batch file setting up the
  180. environment variables as:
  181. 'set netdrive=K:\LOGGER3\'
  182. 'set netname=LONNIE'
  183. You (for instance) could load your data in 'C:\BILLABLES\'.
  184.  
  185. Note you may need to expand your environment size beyond the default
  186. 160 bytes by placing the following in your config.sys file.
  187. 'shell c:\command.com c:\ /e:256 /p'
  188.  
  189.  
  190. I will not be held responsible for your data loss or your hardware
  191. acting up. I am a Senior Tech Support Engineer. I created this program to
  192. maintain our customer database (here) at work.
  193.  
  194.  
  195. * * * * KNOWN BUG LIST: * * * *
  196. ( I thought that would get your attention. )
  197.  
  198. 1) You will get a toolbox '540' error if you are running in the network
  199.    mode and share is not loaded and resident.
  200.  
  201. 2) You will get a dos error '2' when logger fails to find and open the
  202.    data files. Your netdrive variable is not letting logger find them.
  203.  
  204. 3) If the printer is not available or on-line, logger properly detects
  205.    that its off-line. Logger will not post a "PRINTER OFF-LINE" message
  206.    but instead will completely ignore the printer's absence and go on
  207.    with its business.
  208.  
  209. 4) If there is no LIM 4.0 / EMS ram available, the tsr version of logger
  210.    will make a 'SWAP' file to the root directory of the 'C:' drive only.
  211.    But fear not. When you release the tsr, it removes the swap file.
  212.    If you kill power and not release the tsr first, when you next power
  213.    up, the swap file will still be there. Note the swap file's attribute
  214.    makes it hidden from view.
  215.  
  216.  
  217. I want your feedback! Call my company BBS and drop me a note.
  218. It's number is (714) 549-6669. If you were using Logger3, please note
  219. we moved to a new building and I had to (UGGH!) get a new bbs phone
  220. number.
  221.  
  222. <relax & enjoy>
  223.  
  224.  
  225. dBASE and dBASE III are registered trademarks of Ashton Tate, Inc.
  226.  
  227. (c) Copyright 1990, Lonnie J. Rolland, Symbol/MSI, Costa Mesa, CA.
  228.